<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 24 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts24p0{position:absolute;left:106px;top:97px;}
 .ts24p1{position:absolute;left:352px;top:97px;}
 .ts24p3{position:absolute;left:672px;top:97px;}
 .ts24p7{position:absolute;left:106px;top:113px;}
 .ts24p8{position:absolute;left:706px;top:1026px;}
 .ts24p9{position:absolute;left:331px;top:1044px;}
 .ts24p13{position:absolute;left:106px;top:146px;}
 .ts24p16{position:absolute;left:106px;top:164px;}
 .ts24p18{position:absolute;left:106px;top:183px;}
 .ts24p19{position:absolute;left:106px;top:201px;}
 .ts24p21{position:absolute;left:106px;top:238px;}
 .ts24p23{position:absolute;left:106px;top:256px;}
 .ts24p24{position:absolute;left:106px;top:275px;}
 .ts24p25{position:absolute;left:106px;top:293px;}
 .ts24p28{position:absolute;left:106px;top:312px;}
 .ts24p29{position:absolute;left:106px;top:330px;}
 .ts24p30{position:absolute;left:106px;top:348px;}
 .ts24p31{position:absolute;left:106px;top:367px;}
 .ts24p33{position:absolute;left:106px;top:385px;}
 .ts24p34{position:absolute;left:106px;top:405px;}
 .ts24p37{position:absolute;left:106px;top:423px;}
 .ts24p39{position:absolute;left:106px;top:441px;}
 .ts24p41{position:absolute;left:106px;top:459px;}
 .ts24p42{position:absolute;left:106px;top:478px;}
 .ts24p43{position:absolute;left:106px;top:496px;}
 .ts24p44{position:absolute;left:106px;top:514px;}
 .ts24p46{position:absolute;left:106px;top:533px;}
 .ts24p48{position:absolute;left:106px;top:551px;}
 .ts24p49{position:absolute;left:106px;top:570px;}
 .ts24p50{position:absolute;left:106px;top:588px;}
 .ts24p52{position:absolute;left:106px;top:606px;}
 .ts24p53{position:absolute;left:106px;top:625px;}
 .ts24p54{position:absolute;left:106px;top:643px;}
 .ts24p56{position:absolute;left:106px;top:662px;}
 .ts24p57{position:absolute;left:106px;top:680px;}
 .ts24p58{position:absolute;left:106px;top:698px;}
 .ts24p60{position:absolute;left:106px;top:717px;}
 .ts24p61{position:absolute;left:106px;top:735px;}
 .ts24p62{position:absolute;left:106px;top:754px;}
 .ts24p64{position:absolute;left:106px;top:772px;}
 .ts24p65{position:absolute;left:106px;top:790px;}
 .ts24p66{position:absolute;left:106px;top:809px;}
 .ts24p68{position:absolute;left:106px;top:827px;}
 .ts24p69{position:absolute;left:106px;top:846px;}
 .ts24p71{position:absolute;left:106px;top:864px;}
 .ts24p72{position:absolute;left:106px;top:882px;}
 .ts24p73{position:absolute;left:106px;top:901px;}
 .ts24p75{position:absolute;left:106px;top:919px;}
 .ts24p76{position:absolute;left:106px;top:938px;}
 .ts24p77{position:absolute;left:106px;top:956px;}
 .ts24p79{position:absolute;left:106px;top:974px;}

 /* Font Styles */
 .ft0p24{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p24{font-weight:normal;}
 .ft2p24{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p24{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p24{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p24{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p24{font-style:normal;font-weight:bold;font-size:21px;font-family:arial,sans-serif;color:#808080;}
 .ft7p24{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground24{position:absolute;left:97px;top:403px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index23.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;24 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index25.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground24><img src="./background24.png" width="633" height="652" border="0" alt=""></div>
<div class=ts24p0><span class="ft0p24"> </span></div>
<div class=ts24p1><span class="ft0p24">Gravitybox Schedule Primer<span class="ft1p24"> </span></span></div>
<div class=ts24p3><span class="ft0p24">Page 22&nbsp; </span></div>
<div class=ts24p7><span class="ft2p24"> </span></div>
<div class=ts24p8><span class="ft3p24"> </span></div>
<div class=ts24p9><span class="ft4p24">1998&#45;2004 Gravitybox Software LLC<span class="ft3p24"> </span></span></div>
<div class=ts24p13><span class="ft5p24">old (now non&#45;existent) Room object. If there is not a second Room and the schedule is </span></div>
<div class=ts24p16><span class="ft5p24">displaying rooms, the appointment will not be displayed. </span></div>
<div class=ts24p18><span class="ft5p24"> </span></div>
<div class=ts24p19><span class="ft6p24">Categories </span></div>
<div class=ts24p21><span class="ft5p24">The schedule object also has a Categories collection. This collection may be filled with </span></div>
<div class=ts24p23><span class="ft5p24">custom categories that define a business. This functionality is very useful when </span></div>
<div class=ts24p24><span class="ft5p24">categorizing appointments. If the appointments can be grouped into categories, this will </span></div>
<div class=ts24p25><span class="ft5p24">give the users a much better view of the schedule.&nbsp; </span></div>
<div class=ts24p28><span class="ft5p24"> </span></div>
<div class=ts24p29><span class="ft5p24">To go back to the doctor&#146;s office demo, say there are three categories, &#147;Surgery&#148;, </span></div>
<div class=ts24p30><span class="ft5p24">&#147;Major&#148;, and &#147;Misc&#148;. These categories are added to this collection and an associated </span></div>
<div class=ts24p31><span class="ft5p24">color with each. </span></div>
<div class=ts24p33><span class="ft5p24"> </span></div>
<div class=ts24p34><span class="ft7p24">Call Categories.Add(&#34;Surgery&#34;, vbRed) </span></div>
<div class=ts24p37><span class="ft7p24">Call Categories.Add(&#34;Major&#34;, vbYellow) </span></div>
<div class=ts24p39><span class="ft7p24">Call Categories.Add(&#34;Misc&#34;, vbBlue)<span class="ft5p24"> </span></span></div>
<div class=ts24p41><span class="ft5p24"> </span></div>
<div class=ts24p42><span class="ft5p24">Much like the Rooms collection, a Category object may be referenced by its name or </span></div>
<div class=ts24p43><span class="ft5p24">index. Each appointment has a Category property that maps to this collection. An </span></div>
<div class=ts24p44><span class="ft5p24">appointment need not have an associated category, but this functionality is provided for </span></div>
<div class=ts24p46><span class="ft5p24">convenience. </span></div>
<div class=ts24p48><span class="ft5p24"> </span></div>
<div class=ts24p49><span class="ft5p24">This category information is used to display the appointment with a slightly different </span></div>
<div class=ts24p50><span class="ft5p24">appearance. If its Category property of an appointment maps to a valid object of the </span></div>
<div class=ts24p52><span class="ft5p24">Categories collection, the associated Category object&#146;s color is displayed on the left </span></div>
<div class=ts24p53><span class="ft5p24">side of the appointment. In addition to displaying a category, colored bar on the </span></div>
<div class=ts24p54><span class="ft5p24">appointment, there will be a matching bar in the left margin of the schedule. This allows </span></div>
<div class=ts24p56><span class="ft5p24">the user to see, at a glance, the categories of appointments. In the left margin of the </span></div>
<div class=ts24p57><span class="ft5p24">schedule, there is a column for each defined Category object. When an appointment is </span></div>
<div class=ts24p58><span class="ft5p24">mapped to a Category object, its corresponding color bar, in the left margin, will be filled </span></div>
<div class=ts24p60><span class="ft5p24">for the length of the appointment. This may be toggled on/off by setting the CategoryBar </span></div>
<div class=ts24p61><span class="ft5p24">property of the schedule true or false. If CategoryBar is false, the Categories collection </span></div>
<div class=ts24p62><span class="ft5p24">is not displayed in the left margin of the schedule. The associated mapped colors may </span></div>
<div class=ts24p64><span class="ft5p24">still be displayed on the appointment&#146;s margin by setting the CategoryBar property to </span></div>
<div class=ts24p65><span class="ft5p24">true. There exists a tab set in the top, left corner of the schedule. The top tab must be </span></div>
<div class=ts24p66><span class="ft5p24">&#147;checked&#148; for the Categories collection to be displayed. This effectively puts the </span></div>
<div class=ts24p68><span class="ft5p24">schedule into category mode. This tab is a toggle for the display of Categories or </span></div>
<div class=ts24p69><span class="ft5p24">Providers (as described below). </span></div>
<div class=ts24p71><span class="ft5p24"> </span></div>
<div class=ts24p72><span class="ft5p24">A Category object&#146;s name may not be numeric. This is because there would be no way </span></div>
<div class=ts24p73><span class="ft5p24">to determine if the parameter being used is a name or an index. Since you may not add </span></div>
<div class=ts24p75><span class="ft5p24">a numeric name the code below is invalid but I use it as an illustration. If an object&#146;s </span></div>
<div class=ts24p76><span class="ft5p24">name were numeric, the following code would produce an error, since there is only one </span></div>
<div class=ts24p77><span class="ft5p24">object in the collection and its name is &#147;100&#148;. When referenced by the name &#147;100&#148;, the </span></div>
<div class=ts24p79><span class="ft5p24">collection will try to return index 100, which does not exist, and produce an error. </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
